/* 页脚样式 */
footer {
    background-color: #1D2129;
    color: #9CA3AF;
    padding: 3rem 2rem 10px 2rem;
    margin: 50px auto 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #374151;
    padding-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFFFFF;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #374151;
    font-size: 0.875rem;
}

/* 政策提示条样式 */
.policy-bar {
    background-color: #F9FAFB;
    border-top: 1px solid #E5E7EB;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .policy-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
    }
}

.policy-text {
    color: #4B5563;
    font-size: 0.875rem;
    margin: 0;
}

.policy-text a {
    color: #165DFF;
    text-decoration: none;
}

.policy-text a:hover {
    text-decoration: underline;
}

.policy-buttons {
    display: flex;
    gap: 0.75rem;
}

.policy-button {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.policy-settings {
    background-color: transparent;
    border: 1px solid #E5E7EB;
    color: #4B5563;
}

.policy-settings:hover {
    background-color: #F3F4F6;
}

.policy-accept {
    background-color: #165DFF;
    color: #FFFFFF;
    border: none;
}

.policy-accept:hover {
    background-color: #0B4CDD;
}

/* 自定义图标 */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 0.5rem;
}



.icon-map-marker::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-envelope::before {
    content: "📧";
}

.icon-paper-plane::before {
    content: "✉️";
}

.icon-cog::before {
    content: "⚙️";
}